package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作品对象 user_works
 *
 * @author ruoyi
 * @date 2025-04-29
 */
public class UserWorks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 作品的唯一标识 ID */
    @Excel(name = "作品的唯一标识 ID")
    private Long worksId;

    /** 状态，0: 绘画中，1: 未进行制作，2: 已进行制作 */
    @Excel(name = "状态，0: 绘画中，1: 未进行制作，2: 已进行制作")
    private Long workStatus;

    /** 作品缩略图，存储base64 */
    @Excel(name = "作品缩略图，存储base64")
    private String workImage;

    /** 绘画作品缩略图，存储base64 */
    @Excel(name = "绘画作品缩略图")
    private String paintwork;

    /** 风格 */
    @Excel(name = "风格")
    private String paintStyle;

    /** 订单相关信息 */
    @Excel(name = "订单相关信息")
    private String historyOrder;

    /** 底图，存储base64 */
    @Excel(name = "底图，存储base64")
    private String useImage;

    public void setWorksId(Long worksId)
    {
        this.worksId = worksId;
    }

    public Long getWorksId()
    {
        return worksId;
    }

    public void setWorkStatus(Long workStatus)
    {
        this.workStatus = workStatus;
    }

    public Long getWorkStatus()
    {
        return workStatus;
    }

    public void setWorkImage(String workImage)
    {
        this.workImage = workImage;
    }

    public String getWorkImage()
    {
        return workImage;
    }

    public String getPaintwork() {
        return paintwork;
    }

    public void setPaintwork(String paintwork) {
        this.paintwork = paintwork;
    }

    public void setPaintStyle(String paintStyle)
    {
        this.paintStyle = paintStyle;
    }

    public String getPaintStyle()
    {
        return paintStyle;
    }

    public void setHistoryOrder(String historyOrder)
    {
        this.historyOrder = historyOrder;
    }

    public String getHistoryOrder()
    {
        return historyOrder;
    }

    public void setUseImage(String useImage)
    {
        this.useImage = useImage;
    }

    public String getUseImage()
    {
        return useImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("worksId", getWorksId())
            .append("workStatus", getWorkStatus())
            .append("workImage", getWorkImage())
            .append("paintwork", getPaintwork())
            .append("paintStyle", getPaintStyle())
            .append("historyOrder", getHistoryOrder())
            .append("useImage", getUseImage())
            .append("createTime", getCreateTime())
            .toString();
    }
}
